package com.ynet.middleground.contract.dto;

import java.io.Serializable;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author liulx
 * @description 签名证书信息
 * @date 2020-04-11 23:00
 */
@Data
@ApiModel(value = "签名证书信息", description = "签名证书信息")
public class EsignCertDTO implements Serializable {

    private static final long serialVersionUID = 4079799649050228839L;

    @ApiModelProperty(value = "证书所有者名称", notes = "证书所有者名称", dataType = "String")
    private String cn;

    @ApiModelProperty(value = "证书序列号", notes = "证书序列号", dataType = "String")
    private String sn;

    @ApiModelProperty(value = "证书有效期开始时间，yyyy-MM-dd格式", notes = "证书有效期开始时间，yyyy-MM-dd格式", dataType = "String")
    private String startDate;

    @ApiModelProperty(value = "证书有效期结束时间，yyyy-MM-dd格式", notes = "证书有效期结束时间，yyyy-MM-dd格式", dataType = "String")
    private String endDate;

    @ApiModelProperty(value = "证书发布者名称", notes = "证书发布者名称", dataType = "String")
    private String issuerCN;

}
